package com.ufm.security.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import com.ufm.security.pojo.Roles;
import com.ufm.security.pojo.TablesAndRoles;

public interface IRolesService {
	public List<Roles> findAll(Map params);
	public List<Roles> findByUserId(int userId);
	public Roles findById(int id);
	public void delete(int id);
	public void deleteMore(String[] ids, HttpServletRequest request);
	public void update(Roles roles);
	public int countUserUsed(int id);
}
